﻿using System.Windows;
using Microsoft.Phone.Controls;

namespace Skyhook.WindowsPhone.AtoB {
    public partial class LoggedPoints : PhoneApplicationPage {
        public LoggedPoints() {
            InitializeComponent();
        }

        private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e) {
            var coords = MainPage.PointsLog;
            foreach (var coord in coords) {
                lstPoints.Items.Add("Lat:" + coord.Latitude + "\n Long:" + coord.Longitude);
            }
        }
    }
}